
import 'package:flutter/material.dart';

/*
透明度:
100% — FF
95% — F2
90% — E6
85% — D9
80% — CC
75% — BF
70% — B3
65% — A6
60% — 99
55% — 8C
50% — 80
45% — 73
40% — 66
35% — 59
30% — 4D
25% — 40
20% — 33
15% — 26
10% — 1A
5% — 0D
0% — 00
 */
abstract class XColorUtils{

  //
  static const Color colorFFFFFF= Color(0xFFFFFFFF);

  static const Color color000000 =Color(0xFF000000);
  static const Color color333333 = Color(0xFF333333);
  static const Color color666666 = Color(0xFF666666);
  static const Color color999999 = Color(0xFF999999);
  static const Color colorCCCCCC = Color(0xFFCCCCCC);
  static const Color colorF8F8F8 = Color(0xFFF8F8F8);
  static const Color colorF4F4F4 = Color(0xFFF4F4F4);
  static const Color colorTransparency = Color(0x00000000);
  static Color pageBackgroundColor = Color(0xFFF5F6F7);
  static Color pageMengcengColor=const Color(0x80000000);

  //分割线颜色
  static Color dividerColor = Color(0xFFE7E7E7);

  //app主题色
  static Color appMainColor =  const Color(0xff0a66ea);

  //////////////////////////////////////////////////

  static Color getColorFromARGB(int a, int r, int g, int b){
    return Color.fromARGB(a, r, g, b);
  }



}
